﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Admin.aspx.cs" Inherits="Admin" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>Adventure Works Administration Page</title>
    <style>
        a:link{color:#FFFFFF;text-decoration:none}      
        a:visited{color:#FFFFFF;text-decoration:none}     
        a:active{color:##FFFFFF;text-decoration:none} 
        a:hover{color:##FFFFFF;text-decoration:none} 
    </style>
</head>
<body style="font-family: Verdana,Tahoma,Arial; font-size: 10pt;">
    <form id="form1" runat="server">
        <div>
            <table width="100%" cellpadding="3" cellspacing="3">
                <tr>
                    <td align="left" colspan="1">
                    </td>
                    <td align="right" colspan="3">
                        <asp:Image ID="Image1" runat="server" ImageUrl="~/Images/AdvWorksLogo.gif" /><br />
                        <asp:SiteMapPath ID="SiteMapPath1" runat="server" Font-Names="Verdana" Font-Size="0.8em"
                            PathSeparator=" : ">
                            <PathSeparatorStyle Font-Bold="True" ForeColor="#507CD1" />
                            <CurrentNodeStyle ForeColor="#333333" />
                            <NodeStyle Font-Bold="True" ForeColor="#284E98" />
                            <RootNodeStyle Font-Bold="True" ForeColor="#507CD1" />
                        </asp:SiteMapPath>
                    </td>
                </tr>
            </table>
            <table width="100%" style="background-attachment: scroll; background-image: url(../Images/AdvTop.JPG);
                background-repeat: no-repeat" cellpadding="3" cellspacing="3">
                <tr>
                    <td style="height: 62px">
                        <asp:Menu ID="Menu1" runat="server" DataSourceID="SiteMapDataSource1" ForeColor="White"
                            Orientation="Horizontal" StaticDisplayLevels="2">
                            <DynamicHoverStyle BackColor="#0E0E6C" />
                            <DynamicMenuItemStyle BackColor="#0E0E6C" />
                        </asp:Menu>
                        <asp:SiteMapDataSource ID="SiteMapDataSource1" runat="server" />
                    </td>
                </tr>
            </table>
            <table width="100%" border="0" cellpadding="3" cellspacing="3">
                <tr>
                    <td style="background-attachment: scroll; background-image: url(../Images/AdvWorksSideBar.gif);
                        background-repeat: no-repeat; background-position-x: center;" rowspan="3" width="67"
                        height="600">
                    </td>
                    <td rowspan="3" style="background-attachment: scroll; background-image: url(../Images/AdvTable.JPG);
                        background-repeat: repeat-y" width="1%" valign="top">
                        <table border='0' cellspacing='1' cellpadding='1' style='font-family: Verdana,Tahoma,Arial;
                            font-size: 8pt;' width="100%">
                            <tr>
                                <td>
                                    &nbsp;</td>
                            </tr>
                            <tr>
                                <td style='border-bottom-style: dotted; border-bottom-width: 1'>
                                    <asp:Label ID="Label5" runat="server" Font-Bold="True" ForeColor="White" Text="Home"></asp:Label></td>
                            </tr>
                            <tr>
                                <td style='font-family: Verdana,Tahoma,Arial; font-size: 8pt;'>
                                    &nbsp;&nbsp;<asp:Image ID="Image4" runat="server" ImageUrl="~/Images/AdvRect.gif" />&nbsp;<asp:HyperLink
                                        ID="HyperLink1" runat="server" ForeColor="White" NavigateUrl="../Products.aspx">Products</asp:HyperLink><br />
                                    &nbsp;&nbsp;<asp:Image ID="Image2" runat="server" ImageUrl="~/Images/AdvRect.gif" />&nbsp;<asp:HyperLink
                                        ID="HyperLink5" runat="server" ForeColor="White" NavigateUrl="../Members/TrailReport.aspx">Trail Reports</asp:HyperLink><br />
                                    <br />
                                </td>
                            </tr>
                            <tr>
                                <td style='border-bottom-style: dotted; border-bottom-width: 1'>
                                    <asp:Label ID="Label6" runat="server" Font-Bold="True" ForeColor="White" Text="Website&amp;nbsp;Services"></asp:Label></td>
                            </tr>
                            <tr>
                                <td style='font-family: Verdana,Tahoma,Arial; font-size: 8pt;'>
                                    &nbsp;&nbsp;<asp:Image ID="Image5" runat="server" ImageUrl="~/Images/AdvRect.gif" />&nbsp;<asp:HyperLink
                                        ID="HyperLink8" runat="server" ForeColor="White" NavigateUrl="../Feedback.aspx">Provide&nbsp;Feedback</asp:HyperLink><br />
                                    &nbsp;&nbsp;<asp:Image ID="Image3" runat="server" ImageUrl="~/Images/AdvRect.gif" />&nbsp;<asp:HyperLink
                                        ID="HyperLink12" runat="server" ForeColor="White" NavigateUrl="../Survey.aspx">Online&nbsp;Survey</asp:HyperLink><br />
                                    &nbsp;&nbsp;<asp:Image ID="Image6" runat="server" ImageUrl="~/Images/AdvRect.gif" />&nbsp;<asp:HyperLink
                                        ID="HyperLink9" runat="server" ForeColor="White" NavigateUrl="../Diagnostics.aspx">Diagnostics</asp:HyperLink><br />
                                    <br />
                                </td>
                            </tr>
                            <tr>
                                <td style='border-bottom-style: dotted; border-bottom-width: 1'>
                                    <asp:Label ID="Label7" runat="server" Font-Bold="True" ForeColor="White" Text="About&amp;nbsp;Adventure&amp;nbsp;Works"></asp:Label></td>
                            </tr>
                            <tr>
                                <td style='font-family: Verdana,Tahoma,Arial; font-size: 8pt;'>
                                    &nbsp;&nbsp;<asp:Image ID="Image7" runat="server" ImageUrl="~/Images/AdvRect.gif" />&nbsp;<asp:HyperLink
                                        ID="HyperLink10" runat="server" ForeColor="White" NavigateUrl="../About.aspx">About&nbsp;Us</asp:HyperLink><br />
                                    &nbsp;&nbsp;<asp:Image ID="Image8" runat="server" ImageUrl="~/Images/AdvRect.gif" />&nbsp;<asp:HyperLink
                                        ID="HyperLink11" runat="server" ForeColor="White" NavigateUrl="../Contact.aspx">Contact&nbsp;Us</asp:HyperLink><br />
                                    <br />
                                </td>
                            </tr>
                        </table>
                    </td>
                    <td align="left" valign="top" rowspan="3">
                        &nbsp;Hello Administrators. Use this page to configure the membership of the Members
                        and Admins roles.<br />
                        <br />
                        <table width="100%">
                            <tr style="font-weight: bold;">
                                <td colspan="3">
                                    Members Role
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    Members:
                                    <br />
                                    <asp:ListBox ID="lbxMembersRoleMembers" runat="server" Width="100%"></asp:ListBox></td>
                                <td style="width: 71px">
                                    <asp:Button ID="btnMembersAdd" runat="server" Text="< Add" OnClick="btnMembersAdd_Click" />
                                    <br />
                                    <asp:Button ID="btnMembersRemove" runat="server" Text="Remove >" OnClick="btnMembersRemove_Click" /></td>
                                <td>
                                    Non-Members:
                                    <br />
                                    <asp:ListBox ID="lbxMembersRoleNonMembers" runat="server" Width="100%"></asp:ListBox></td>
                            </tr>
                        </table>
                        <br />
                        <table width="100%">
                            <tr style="font-weight: bold;">
                                <td colspan="3">
                                    Admins Role
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    Members:
                                    <br />
                                    <asp:ListBox ID="lbxAdminsRoleMembers" runat="server" Width="100%"></asp:ListBox></td>
                                <td style="width: 71px">
                                    <asp:Button ID="btnAdminsAdd" runat="server" Text="< Add" OnClick="btnAdminsAdd_Click" />
                                    <br />
                                    <asp:Button ID="btnAdminRemove" runat="server" Text="Remove >" OnClick="btnAdminRemove_Click" /></td>
                                <td>
                                    Non-Members:
                                    <br />
                                    <asp:ListBox ID="lbxAdminsRoleNonMembers" runat="server" Width="100%"></asp:ListBox></td>
                            </tr>
                        </table>
                    </td>
                    <td rowspan="3" valign="top" width="10%">
                    </td>
                </tr>
                <tr style="color: #ffffff">
                </tr>
                <tr>
                </tr>
            </table>
        </div>
    </form>
</body>
</html>
